﻿namespace Game.FlowField
{
    public class FlowField
    {
        //public static MapData MapData;
        public static int UnitCount { get; private set; }
        public static int BlockCount { get; private set; }
        public static float MovingSpeed { get; set; }

        public static void Reset()
        {
            UnitCount = 0;
            BlockCount = 0;
        }

        public static void UnitIncrease()
        {
            UnitCount++;
        }

        public static void UnitIncrease(int num)
        {
            UnitCount += num;
        }

        public static void UnitDecrease()
        {
            UnitCount--;
        }

        public static void UnitDecrease(int num)
        {
            UnitCount -= num;
        }

        public static void BlockIncrease()
        {
            BlockCount++;
        }

        public static void BlockIncrease(int num)
        {
            BlockCount += num;
        }

        public static void BlockDecrease()
        {
            BlockCount--;
        }

        public static void BlockDecrease(int num)
        {
            BlockCount -= num;
        }
    }
}